﻿@model MvcRedovalnica.Models.PredelanaSnov

@{
    ViewBag.Title = "Porocilo o predelani snovi";
}

<h2>Porocilo o predelani snovi</h2>

@using (Html.BeginForm())
{
    <table>
        <tr>
            <td>@Html.LabelFor(m => m.date)</td>
            <td>@Html.EditorFor(m => m.date)</td>
        </tr>
        <tr>
            <td>@Html.LabelFor(m => m.selectedPredmet)</td>
            <td>@Html.DropDownListFor(m => m.selectedPredmet, Model.predmetiOpcije)</td>
        </tr>
        <tr>
            <td>@Html.LabelFor(m => m.selectedRazred)</td>
            <td>@Html.DropDownListFor(m => m.selectedRazred, Model.razrediOpcije)</td>
        </tr>
        <tr>
            <td>@Html.LabelFor(m => m.porocilo)</td>
            <td>@Html.TextAreaFor(m => m.porocilo)</td>
        </tr>
    </table>
    
    @Html.ValidationSummary()
      
    <input type="submit" value="Potrdi" />
}